package cn.crex1.xiaomi.pojo;

import java.util.Date;
/**
 * 商品规格表，根据商品ID获取获取不同的规格信息
 * @author Administrator
 *
 */
public class PSpecification {
	
	private Integer product_spec_id;//产品规格ID
	
	private Long product_spec_number;//商品规格编号
	
	private Integer product_id;//商品ID
	
	private Integer stock;//库存
	
	private Integer sales_volume;//销售量
	
	private Integer score;//积分
	
	private Integer default_status;//是否默认状态：0,不默认；1,默认
	
	private Integer	status;//商品状态：0,新增；1,上架；2,下架
	
	private String spec;//规格：规格ID，以“,”相隔
	
	private Double price;//价格
	
	private Date create_time;//创建时间
	
	private Date update_time;//更新时间
	
	
	
	public Integer getProduct_spec_id() {
		return product_spec_id;
	}



	public void setProduct_spec_id(Integer product_spec_id) {
		this.product_spec_id = product_spec_id;
	}



	public Long getProduct_spec_number() {
		return product_spec_number;
	}



	public void setProduct_spec_number(Long product_spec_number) {
		this.product_spec_number = product_spec_number;
	}



	public Integer getProduct_id() {
		return product_id;
	}



	public void setProduct_id(Integer product_id) {
		this.product_id = product_id;
	}



	public Integer getStock() {
		return stock;
	}



	public void setStock(Integer stock) {
		this.stock = stock;
	}



	public Integer getSales_volume() {
		return sales_volume;
	}



	public void setSales_volume(Integer sales_volume) {
		this.sales_volume = sales_volume;
	}



	public Integer getScore() {
		return score;
	}



	public void setScore(Integer score) {
		this.score = score;
	}



	public Integer getDefault_status() {
		return default_status;
	}



	public void setDefault_status(Integer default_status) {
		this.default_status = default_status;
	}



	public Integer getStatus() {
		return status;
	}



	public void setStatus(Integer status) {
		this.status = status;
	}



	public String getSpec() {
		return spec;
	}



	public void setSpec(String spec) {
		this.spec = spec;
	}



	public Double getPrice() {
		return price;
	}



	public void setPrice(Double price) {
		this.price = price;
	}



	public Date getCreate_time() {
		return create_time;
	}



	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}



	public Date getUpdate_time() {
		return update_time;
	}



	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}



	@Override
	public String toString() {
		return "PSpecification [product_spec_id=" + product_spec_id + ", product_spec_number=" + product_spec_number
				+ ", product_id=" + product_id + ", stock=" + stock + ", sales_volume=" + sales_volume + ", score="
				+ score + ", default_status=" + default_status + ", status=" + status + ", spec=" + spec + ", price="
				+ price + ", create_time=" + create_time + ", update_time=" + update_time + "]";
	}
	
}
